#coding:utf-8
'''
* coder  : dzlua
* email  : 505544956@qq.com
* module : api-frame
* path   : app/utils
* file   : base.py
* time   : 2017-11-08 17:02:22
'''
#--------------------#
import json as __json
#--------------------#

#--------------------#
def json_dump(obj, indent=4):
    return __json.dumps(obj, separators=(',', ':'), indent=indent)
#----------#
def json_load(json_str):
    return __json.loads(json_str)
#--------------------#
